package com.tgy.twodatabaseplus.entity;

import lombok.ToString;

import java.io.Serializable;

/**
 * (User)实体类
 *
 * @author
 * @since 2022-03-29 14:07:22
 */
@ToString
public class User implements Serializable {
    private static final long serialVersionUID = -65129811618191324L;
    /**
     * 主键ID
     */
    private Long id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 年龄
     */
    private Integer age;
    /**
     * 邮箱
     */
    private String email;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

}

